/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package net.uch.biblioteca.hibernateSpringDao;
import java.util.List;
import net.uch.biblioteca.mapping.BibLector;
import org.springframework.dao.DataAccessException;
/**
 *
 * @author Vasquez
 */
public interface HSBibLectorDAO {
    
    public List seleccionarLector ( String descripcion, String sLecTip ) throws Exception;
    
    public void guardarLector(BibLector lector) throws Exception;
    
    public void actualizarLector(BibLector lector) throws Exception;
    
    public void eliminarLector( int iLecid ) throws Exception;
    
    public BibLector buscarLector( int iLecId ) throws Exception;
    
    public BibLector validarLector(String strUserName, String password)
            throws DataAccessException, java.sql.SQLException;
    
    public BibLector lectorxCodigo ( String sLec_codigo ) throws Exception;
}
